package com.junzhiit.nengji.shop.web.controller;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class BaseController {

	public static final String RESULT_MESSAGE = "resultMsg";

	public static final String ERROR_MESSAGE = "errorMsg";

	protected final Logger logger = LoggerFactory.getLogger(this.getClass());

	@PostConstruct
	public void init() {
		logger.info("init");
	}

	@PreDestroy
	public void destroy() {
		logger.info("destroy");
	}
}
